<div class="block-top"><span></span></div>
					<div class="block-content">
						<ul>
						<?php $line_count = 1;$categories_count = count($categories);?>
						<?php foreach($categories as $category):?>
							<li<?php if($line_count == $categories_count):?> class="last"<?php endif;?>>
							<h3 class="ico<?php echo $category->id?>"><span><?php echo $category->name?></span></h3>
								<ul>
								<?php foreach($articles as $article):?>
									<?php if($article->category_id == $category->id):?>
									<li><a href="<?php echo site_url('article/'. $article->id)?>"><?php echo $article->name?></a></li>
									<?php endif;?>
								<?php endforeach;?>
								</ul>
							</li>
							<?php $line_count++;?>
						<?php endforeach;?>
						</ul>
						<div class="clear"></div>
						<ul class="footer-menu">
							<li><a href="<?php echo site_url()?>"><span><?php echo lang('home.footernavs_27')?></span><?php echo lang('home.footernavs_28')?></a></li>
							<li><a href="<?php echo site_url()?>"><span><?php echo lang('home.footernavs_29')?></span><?php echo lang('home.footernavs_30')?></a></li>
							<li><a href="<?php echo site_url()?>"><span><?php echo lang('home.footernavs_31')?></span><?php echo lang('home.footernavs_32')?></a></li>
							<li><a href="<?php echo site_url()?>"><span><?php echo lang('home.footernavs_33')?></span><?php echo lang('home.footernavs_34')?></a></li>
							<li class="last"><a href="<?php echo site_url()?>"><span><?php echo lang('home.footernavs_35')?></span><?php echo lang('home.footernavs_36')?></a></li>                                                      
						</ul>
						
						<div class="clear"></div>
					</div>
					
					<div class="block-bottom"><span></span></div>
				</div>